home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / AIncludes / GXLayout.a < prev    next >
Encoding:
Text File  |  1998-08-17  |  21.8 KB  |  694 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        GXLayout.a
  3. ;
  4. ;    Contains:    QuickDraw GX layout routine interfaces.
  5. ;
  6. ;    Version:    Technology:    Quickdraw GX 1.1
  7. ;                Release:    Universal Interfaces 3.2
  8. ;
  9. ;    Copyright:    © 1994-1998 by Apple Computer, Inc., all rights reserved.
  10. ;
  11. ;    Bugs?:        For bug reports, consult the following page on
  12. ;                the World Wide Web:
  13. ;
  14. ;                    http://developer.apple.com/bugreporter/
  15. ;
  16. ;
  17.     IF &TYPE('__GXLAYOUT__') = 'UNDEFINED' THEN
  18. __GXLAYOUT__ SET 1
  19.  
  20.     IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN
  21.     include 'ConditionalMacros.a'
  22.     ENDIF
  23.     IF &TYPE('__GXTYPES__') = 'UNDEFINED' THEN
  24.     include 'GXTypes.a'
  25.     ENDIF
  26.  
  27. ;
  28. ; extern gxShape GXNewLayout(long textRunCount, const short textRunLengths[2147483647], const void *text[2147483647], long styleRunCount, const short styleRunLengths[2147483647], const gxStyle styles[2147483647], long levelRunCount, const short levelRunLengths[2147483647], const short levels[2147483647], const gxLayoutOptions *layoutOptions, const gxPoint *position)
  29. ;
  30.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  31.         Macro
  32.         _GXNewLayout
  33.             move.w              #$0000,D0
  34.             dc.w                $A832
  35.         EndM
  36.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  37.         IMPORT_CFM_FUNCTION GXNewLayout
  38.     ENDIF
  39.  
  40. ;
  41. ; extern long GXGetLayout(gxShape layout, void *text, long *styleRunCount, short styleRunLengths[2147483647], gxStyle styles[2147483647], long *levelRunCount, short levelRunLengths[2147483647], short levels[2147483647], gxLayoutOptions *layoutOptions, gxPoint *position)
  42. ;
  43.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  44.         Macro
  45.         _GXGetLayout
  46.             move.w              #$0001,D0
  47.             dc.w                $A832
  48.         EndM
  49.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  50.         IMPORT_CFM_FUNCTION GXGetLayout
  51.     ENDIF
  52.  
  53. ;
  54. ; extern void GXSetLayout(gxShape layout, long textRunCount, const short textRunLengths[2147483647], const void *text[2147483647], long styleRunCount, const short styleRunLengths[2147483647], const gxStyle styles[2147483647], long levelRunCount, const short levelRunLengths[2147483647], const short levels[2147483647], const gxLayoutOptions *layoutOptions, const gxPoint *position)
  55. ;
  56.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  57.         Macro
  58.         _GXSetLayout
  59.             move.w              #$0002,D0
  60.             dc.w                $A832
  61.         EndM
  62.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  63.         IMPORT_CFM_FUNCTION GXSetLayout
  64.     ENDIF
  65.  
  66. ;
  67. ; extern void GXDrawLayout(long textRunCount, const short textRunLengths[2147483647], const void *text[2147483647], long styleRunCount, const short styleRunLengths[2147483647], const gxStyle styles[2147483647], long levelRunCount, const short levelRunLengths[2147483647], const short levels[2147483647], const gxLayoutOptions *layoutOptions, const gxPoint *position)
  68. ;
  69.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  70.         Macro
  71.         _GXDrawLayout
  72.             move.w              #$0003,D0
  73.             dc.w                $A832
  74.         EndM
  75.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  76.         IMPORT_CFM_FUNCTION GXDrawLayout
  77.     ENDIF
  78.  
  79. ;
  80. ; extern void GXSetLayoutParts(gxShape layout, gxByteOffset oldStartOffset, gxByteOffset oldEndOffset, long newTextRunCount, const short newTextRunLengths[2147483647], const void *newText[2147483647], long newStyleRunCount, const short newStyleRunLengths[2147483647], const gxStyle newStyles[2147483647], long newLevelRunCount, const short newLevelRunLengths[2147483647], const short newLevels[2147483647])
  81. ;
  82.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  83.         Macro
  84.         _GXSetLayoutParts
  85.             move.w              #$0004,D0
  86.             dc.w                $A832
  87.         EndM
  88.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  89.         IMPORT_CFM_FUNCTION GXSetLayoutParts
  90.     ENDIF
  91.  
  92. ;
  93. ; extern void GXSetLayoutShapeParts(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape insert)
  94. ;
  95.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  96.         Macro
  97.         _GXSetLayoutShapeParts
  98.             move.w              #$0005,D0
  99.             dc.w                $A832
  100.         EndM
  101.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  102.         IMPORT_CFM_FUNCTION GXSetLayoutShapeParts
  103.     ENDIF
  104.  
  105. ;
  106. ; extern long GXGetLayoutParts(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, void *text, long *styleRunCount, short styleRunLengths[2147483647], gxStyle styles[2147483647], long *levelRunCount, short levelRunLengths[2147483647], short levels[2147483647])
  107. ;
  108.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  109.         Macro
  110.         _GXGetLayoutParts
  111.             move.w              #$0006,D0
  112.             dc.w                $A832
  113.         EndM
  114.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  115.         IMPORT_CFM_FUNCTION GXGetLayoutParts
  116.     ENDIF
  117.  
  118. ;
  119. ; extern gxShape GXGetLayoutShapeParts(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape dest)
  120. ;
  121.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  122.         Macro
  123.         _GXGetLayoutShapeParts
  124.             move.w              #$0007,D0
  125.             dc.w                $A832
  126.         EndM
  127.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  128.         IMPORT_CFM_FUNCTION GXGetLayoutShapeParts
  129.     ENDIF
  130.  
  131. ;
  132. ; extern long GXGetLayoutGlyphs(gxShape layout, gxGlyphcode *glyphs, gxPoint positions[2147483647], long advance[2147483647], gxPoint tangents[2147483647], long *runCount, short styleRuns[2147483647], gxStyle glyphStyles[2147483647])
  133. ;
  134.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  135.         Macro
  136.         _GXGetLayoutGlyphs
  137.             move.w              #$0008,D0
  138.             dc.w                $A832
  139.         EndM
  140.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  141.         IMPORT_CFM_FUNCTION GXGetLayoutGlyphs
  142.     ENDIF
  143.  
  144. ;
  145. ; extern gxByteOffset GXHitTestLayout(gxShape layout, const gxPoint *hitDown, gxHighlightType highlightType, gxLayoutHitInfo *hitInfo, gxShape hitTrackingArea)
  146. ;
  147.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  148.         Macro
  149.         _GXHitTestLayout
  150.             move.w              #$0009,D0
  151.             dc.w                $A832
  152.         EndM
  153.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  154.         IMPORT_CFM_FUNCTION GXHitTestLayout
  155.     ENDIF
  156.  
  157. ;
  158. ; extern gxShape GXGetLayoutHighlight(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxHighlightType highlightType, gxShape highlight)
  159. ;
  160.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  161.         Macro
  162.         _GXGetLayoutHighlight
  163.             move.w              #$000A,D0
  164.             dc.w                $A832
  165.         EndM
  166.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  167.         IMPORT_CFM_FUNCTION GXGetLayoutHighlight
  168.     ENDIF
  169.  
  170. ;
  171. ; extern gxShape GXGetLayoutVisualHighlight(gxShape layout, gxByteOffset startOffset, long startLeadingEdge, gxByteOffset endOffset, long endLeadingEdge, gxHighlightType highlightType, gxShape highlight)
  172. ;
  173.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  174.         Macro
  175.         _GXGetLayoutVisualHighlight
  176.             move.w              #$000B,D0
  177.             dc.w                $A832
  178.         EndM
  179.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  180.         IMPORT_CFM_FUNCTION GXGetLayoutVisualHighlight
  181.     ENDIF
  182.  
  183. ;
  184. ; extern gxShape GXGetLayoutCaret(gxShape layout, gxByteOffset offset, gxHighlightType highlightType, gxCaretType caretType, gxShape caret)
  185. ;
  186.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  187.         Macro
  188.         _GXGetLayoutCaret
  189.             move.w              #$000C,D0
  190.             dc.w                $A832
  191.         EndM
  192.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  193.         IMPORT_CFM_FUNCTION GXGetLayoutCaret
  194.     ENDIF
  195.  
  196. ;
  197. ; extern gxByteOffset GXGetLayoutBreakOffset(gxShape layout, gxByteOffset startOffset, Fixed lineWidth, long hyphenationCount, const gxByteOffset hyphenationPoints[2147483647], Boolean *startIsStaked, gxByteOffset *priorStake, gxByteOffset *nextStake)
  198. ;
  199.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  200.         Macro
  201.         _GXGetLayoutBreakOffset
  202.             move.w              #$000D,D0
  203.             dc.w                $A832
  204.         EndM
  205.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  206.         IMPORT_CFM_FUNCTION GXGetLayoutBreakOffset
  207.     ENDIF
  208.  
  209. ;
  210. ; extern Fixed GXGetLayoutRangeWidth(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape supplementaryText)
  211. ;
  212.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  213.         Macro
  214.         _GXGetLayoutRangeWidth
  215.             move.w              #$000E,D0
  216.             dc.w                $A832
  217.         EndM
  218.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  219.         IMPORT_CFM_FUNCTION GXGetLayoutRangeWidth
  220.     ENDIF
  221.  
  222. ;
  223. ; extern gxShape GXNewLayoutFromRange(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, const gxLayoutOptions *layoutOptions, gxShape supplementaryText)
  224. ;
  225.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  226.         Macro
  227.         _GXNewLayoutFromRange
  228.             move.w              #$000F,D0
  229.             dc.w                $A832
  230.         EndM
  231.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  232.         IMPORT_CFM_FUNCTION GXNewLayoutFromRange
  233.     ENDIF
  234.  
  235. ;
  236. ; extern gxShape GXGetCaretAngleArea(gxShape layout, const gxPoint *hitPoint, gxHighlightType highlightType, gxShape caretArea, short *returnedRise, short *returnedRun)
  237. ;
  238.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  239.         Macro
  240.         _GXGetCaretAngleArea
  241.             move.w              #$0010,D0
  242.             dc.w                $A832
  243.         EndM
  244.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  245.         IMPORT_CFM_FUNCTION GXGetCaretAngleArea
  246.     ENDIF
  247.  
  248. ;
  249. ; extern void GXGetStyleBaselineDeltas(gxStyle baseStyle, gxBaselineType baseType, gxBaselineDeltas returnedDeltas)
  250. ;
  251.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  252.         Macro
  253.         _GXGetStyleBaselineDeltas
  254.             move.w              #$0011,D0
  255.             dc.w                $A832
  256.         EndM
  257.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  258.         IMPORT_CFM_FUNCTION GXGetStyleBaselineDeltas
  259.     ENDIF
  260.  
  261. ;
  262. ; extern gxByteOffset GXGetRightVisualOffset(gxShape layout, gxByteOffset currentOffset)
  263. ;
  264.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  265.         Macro
  266.         _GXGetRightVisualOffset
  267.             move.w              #$0012,D0
  268.             dc.w                $A832
  269.         EndM
  270.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  271.         IMPORT_CFM_FUNCTION GXGetRightVisualOffset
  272.     ENDIF
  273.  
  274. ;
  275. ; extern gxByteOffset GXGetLeftVisualOffset(gxShape layout, gxByteOffset currentOffset)
  276. ;
  277.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  278.         Macro
  279.         _GXGetLeftVisualOffset
  280.             move.w              #$0013,D0
  281.             dc.w                $A832
  282.         EndM
  283.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  284.         IMPORT_CFM_FUNCTION GXGetLeftVisualOffset
  285.     ENDIF
  286.  
  287. ;
  288. ; extern void GXGetCompoundCharacterLimits(gxShape layout, gxByteOffset trial, gxByteOffset *minOffset, gxByteOffset *maxOffset, Boolean *onBoundary)
  289. ;
  290.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  291.         Macro
  292.         _GXGetCompoundCharacterLimits
  293.             move.w              #$0014,D0
  294.             dc.w                $A832
  295.         EndM
  296.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  297.         IMPORT_CFM_FUNCTION GXGetCompoundCharacterLimits
  298.     ENDIF
  299.  
  300. ;
  301. ; extern void GXGetOffsetGlyphs(gxShape layout, gxByteOffset trial, long leadingEdge, gxLayoutOffsetState *offsetState, unsigned short *firstGlyph, unsigned short *secondGlyph)
  302. ;
  303.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  304.         Macro
  305.         _GXGetOffsetGlyphs
  306.             move.w              #$0015,D0
  307.             dc.w                $A832
  308.         EndM
  309.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  310.         IMPORT_CFM_FUNCTION GXGetOffsetGlyphs
  311.     ENDIF
  312.  
  313. ;
  314. ; extern void GXGetGlyphOffset(gxShape layout, long trial, long onLeftTop, gxByteOffset *offset, Boolean *leadingEdge, Boolean *wasRealCharacter)
  315. ;
  316.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  317.         Macro
  318.         _GXGetGlyphOffset
  319.             move.w              #$0016,D0
  320.             dc.w                $A832
  321.         EndM
  322.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  323.         IMPORT_CFM_FUNCTION GXGetGlyphOffset
  324.     ENDIF
  325.  
  326. ;
  327. ; extern void GXGetLayoutSpan(gxShape layout, Fixed *lineAscent, Fixed *lineDescent)
  328. ;
  329.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  330.         Macro
  331.         _GXGetLayoutSpan
  332.             move.w              #$0017,D0
  333.             dc.w                $A832
  334.         EndM
  335.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  336.         IMPORT_CFM_FUNCTION GXGetLayoutSpan
  337.     ENDIF
  338.  
  339. ;
  340. ; extern void GXSetLayoutSpan(gxShape layout, Fixed lineAscent, Fixed lineDescent)
  341. ;
  342.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  343.         Macro
  344.         _GXSetLayoutSpan
  345.             move.w              #$0018,D0
  346.             dc.w                $A832
  347.         EndM
  348.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  349.         IMPORT_CFM_FUNCTION GXSetLayoutSpan
  350.     ENDIF
  351.  
  352. ;
  353. ; extern Fixed GXGetLayoutJustificationGap(gxShape layout)
  354. ;
  355.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  356.         Macro
  357.         _GXGetLayoutJustificationGap
  358.             move.w              #$0279,D0
  359.             dc.w                $A832
  360.         EndM
  361.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  362.         IMPORT_CFM_FUNCTION GXGetLayoutJustificationGap
  363.     ENDIF
  364.  
  365. ;
  366. ; extern void GXGetLayoutJustificationFactors(gxShape layout, Fixed constrainedFactors[2147483647], Fixed unconstrainedFactors[2147483647])
  367. ;
  368.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  369.         Macro
  370.         _GXGetLayoutJustificationFactors
  371.             move.w              #$027A,D0
  372.             dc.w                $A832
  373.         EndM
  374.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  375.         IMPORT_CFM_FUNCTION GXGetLayoutJustificationFactors
  376.     ENDIF
  377.  
  378. ;
  379. ; extern void GXSetStyleRunControls(gxStyle target, const gxRunControls *runControls)
  380. ;
  381.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  382.         Macro
  383.         _GXSetStyleRunControls
  384.             move.w              #$0019,D0
  385.             dc.w                $A832
  386.         EndM
  387.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  388.         IMPORT_CFM_FUNCTION GXSetStyleRunControls
  389.     ENDIF
  390.  
  391. ;
  392. ; extern void GXSetStyleRunPriorityJustOverride(gxStyle target, const gxPriorityJustificationOverride *priorityJustificationOverride)
  393. ;
  394.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  395.         Macro
  396.         _GXSetStyleRunPriorityJustOverride
  397.             move.w              #$001A,D0
  398.             dc.w                $A832
  399.         EndM
  400.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  401.         IMPORT_CFM_FUNCTION GXSetStyleRunPriorityJustOverride
  402.     ENDIF
  403.  
  404. ;
  405. ; extern void GXSetStyleRunGlyphJustOverrides(gxStyle target, long count, const gxGlyphJustificationOverride glyphJustificationOverrides[2147483647])
  406. ;
  407.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  408.         Macro
  409.         _GXSetStyleRunGlyphJustOverrides
  410.             move.w              #$001B,D0
  411.             dc.w                $A832
  412.         EndM
  413.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  414.         IMPORT_CFM_FUNCTION GXSetStyleRunGlyphJustOverrides
  415.     ENDIF
  416.  
  417. ;
  418. ; extern void GXSetStyleRunGlyphSubstitutions(gxStyle target, long count, const gxGlyphSubstitution glyphSubstitutions[2147483647])
  419. ;
  420.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  421.         Macro
  422.         _GXSetStyleRunGlyphSubstitutions
  423.             move.w              #$001C,D0
  424.             dc.w                $A832
  425.         EndM
  426.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  427.         IMPORT_CFM_FUNCTION GXSetStyleRunGlyphSubstitutions
  428.     ENDIF
  429.  
  430. ;
  431. ; extern void GXSetStyleRunFeatures(gxStyle target, long count, const gxRunFeature runFeatures[2147483647])
  432. ;
  433.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  434.         Macro
  435.         _GXSetStyleRunFeatures
  436.             move.w              #$001D,D0
  437.             dc.w                $A832
  438.         EndM
  439.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  440.         IMPORT_CFM_FUNCTION GXSetStyleRunFeatures
  441.     ENDIF
  442.  
  443. ;
  444. ; extern void GXSetStyleRunKerningAdjustments(gxStyle target, long count, const gxKerningAdjustment kerningAdjustments[2147483647])
  445. ;
  446.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  447.         Macro
  448.         _GXSetStyleRunKerningAdjustments
  449.             move.w              #$001E,D0
  450.             dc.w                $A832
  451.         EndM
  452.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  453.         IMPORT_CFM_FUNCTION GXSetStyleRunKerningAdjustments
  454.     ENDIF
  455.  
  456. ;
  457. ; extern void GXSetShapeRunControls(gxShape target, const gxRunControls *runControls)
  458. ;
  459.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  460.         Macro
  461.         _GXSetShapeRunControls
  462.             move.w              #$001F,D0
  463.             dc.w                $A832
  464.         EndM
  465.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  466.         IMPORT_CFM_FUNCTION GXSetShapeRunControls
  467.     ENDIF
  468.  
  469. ;
  470. ; extern void GXSetShapeRunPriorityJustOverride(gxShape target, const gxPriorityJustificationOverride *priorityJustificationOverride)
  471. ;
  472.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  473.         Macro
  474.         _GXSetShapeRunPriorityJustOverride
  475.             move.w              #$0020,D0
  476.             dc.w                $A832
  477.         EndM
  478.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  479.         IMPORT_CFM_FUNCTION GXSetShapeRunPriorityJustOverride
  480.     ENDIF
  481.  
  482. ;
  483. ; extern void GXSetShapeRunGlyphJustOverrides(gxShape target, long count, const gxGlyphJustificationOverride glyphJustificationOverrides[2147483647])
  484. ;
  485.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  486.         Macro
  487.         _GXSetShapeRunGlyphJustOverrides
  488.             move.w              #$0021,D0
  489.             dc.w                $A832
  490.         EndM
  491.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  492.         IMPORT_CFM_FUNCTION GXSetShapeRunGlyphJustOverrides
  493.     ENDIF
  494.  
  495. ;
  496. ; extern void GXSetShapeRunGlyphSubstitutions(gxShape target, long count, const gxGlyphSubstitution glyphSubstitutions[2147483647])
  497. ;
  498.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  499.         Macro
  500.         _GXSetShapeRunGlyphSubstitutions
  501.             move.w              #$0022,D0
  502.             dc.w                $A832
  503.         EndM
  504.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  505.         IMPORT_CFM_FUNCTION GXSetShapeRunGlyphSubstitutions
  506.     ENDIF
  507.  
  508. ;
  509. ; extern void GXSetShapeRunFeatures(gxShape target, long count, const gxRunFeature runFeatures[2147483647])
  510. ;
  511.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  512.         Macro
  513.         _GXSetShapeRunFeatures
  514.             move.w              #$0023,D0
  515.             dc.w                $A832
  516.         EndM
  517.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  518.         IMPORT_CFM_FUNCTION GXSetShapeRunFeatures
  519.     ENDIF
  520.  
  521. ;
  522. ; extern void GXSetShapeRunKerningAdjustments(gxShape target, long count, const gxKerningAdjustment kerningAdjustments[2147483647])
  523. ;
  524.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  525.         Macro
  526.         _GXSetShapeRunKerningAdjustments
  527.             move.w              #$0024,D0
  528.             dc.w                $A832
  529.         EndM
  530.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  531.         IMPORT_CFM_FUNCTION GXSetShapeRunKerningAdjustments
  532.     ENDIF
  533.  
  534. ;
  535. ; extern long GXGetStyleRunControls(gxStyle source, gxRunControls *runControls)
  536. ;
  537.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  538.         Macro
  539.         _GXGetStyleRunControls
  540.             move.w              #$0025,D0
  541.             dc.w                $A832
  542.         EndM
  543.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  544.         IMPORT_CFM_FUNCTION GXGetStyleRunControls
  545.     ENDIF
  546.  
  547. ;
  548. ; extern long GXGetStyleRunPriorityJustOverride(gxStyle source, gxPriorityJustificationOverride *priorityJustificationOverride)
  549. ;
  550.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  551.         Macro
  552.         _GXGetStyleRunPriorityJustOverride
  553.             move.w              #$0026,D0
  554.             dc.w                $A832
  555.         EndM
  556.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  557.         IMPORT_CFM_FUNCTION GXGetStyleRunPriorityJustOverride
  558.     ENDIF
  559.  
  560. ;
  561. ; extern long GXGetStyleRunGlyphJustOverrides(gxStyle source, gxGlyphJustificationOverride glyphJustificationOverrides[2147483647])
  562. ;
  563.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  564.         Macro
  565.         _GXGetStyleRunGlyphJustOverrides
  566.             move.w              #$0027,D0
  567.             dc.w                $A832
  568.         EndM
  569.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  570.         IMPORT_CFM_FUNCTION GXGetStyleRunGlyphJustOverrides
  571.     ENDIF
  572.  
  573. ;
  574. ; extern long GXGetStyleRunGlyphSubstitutions(gxStyle source, gxGlyphSubstitution glyphSubstitutions[2147483647])
  575. ;
  576.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  577.         Macro
  578.         _GXGetStyleRunGlyphSubstitutions
  579.             move.w              #$0028,D0
  580.             dc.w                $A832
  581.         EndM
  582.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  583.         IMPORT_CFM_FUNCTION GXGetStyleRunGlyphSubstitutions
  584.     ENDIF
  585.  
  586. ;
  587. ; extern long GXGetStyleRunFeatures(gxStyle source, gxRunFeature runFeatures[2147483647])
  588. ;
  589.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  590.         Macro
  591.         _GXGetStyleRunFeatures
  592.             move.w              #$0029,D0
  593.             dc.w                $A832
  594.         EndM
  595.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  596.         IMPORT_CFM_FUNCTION GXGetStyleRunFeatures
  597.     ENDIF
  598.  
  599. ;
  600. ; extern long GXGetStyleRunKerningAdjustments(gxStyle source, gxKerningAdjustment kerningAdjustments[2147483647])
  601. ;
  602.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  603.         Macro
  604.         _GXGetStyleRunKerningAdjustments
  605.             move.w              #$002A,D0
  606.             dc.w                $A832
  607.         EndM
  608.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  609.         IMPORT_CFM_FUNCTION GXGetStyleRunKerningAdjustments
  610.     ENDIF
  611.  
  612. ;
  613. ; extern long GXGetShapeRunControls(gxShape source, gxRunControls *runControls)
  614. ;
  615.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  616.         Macro
  617.         _GXGetShapeRunControls
  618.             move.w              #$002B,D0
  619.             dc.w                $A832
  620.         EndM
  621.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  622.         IMPORT_CFM_FUNCTION GXGetShapeRunControls
  623.     ENDIF
  624.  
  625. ;
  626. ; extern long GXGetShapeRunPriorityJustOverride(gxShape source, gxPriorityJustificationOverride *priorityJustificationOverride)
  627. ;
  628.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  629.         Macro
  630.         _GXGetShapeRunPriorityJustOverride
  631.             move.w              #$002C,D0
  632.             dc.w                $A832
  633.         EndM
  634.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  635.         IMPORT_CFM_FUNCTION GXGetShapeRunPriorityJustOverride
  636.     ENDIF
  637.  
  638. ;
  639. ; extern long GXGetShapeRunGlyphJustOverrides(gxShape source, gxGlyphJustificationOverride glyphJustificationOverrides[2147483647])
  640. ;
  641.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  642.         Macro
  643.         _GXGetShapeRunGlyphJustOverrides
  644.             move.w              #$002D,D0
  645.             dc.w                $A832
  646.         EndM
  647.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  648.         IMPORT_CFM_FUNCTION GXGetShapeRunGlyphJustOverrides
  649.     ENDIF
  650.  
  651. ;
  652. ; extern long GXGetShapeRunGlyphSubstitutions(gxShape source, gxGlyphSubstitution glyphSubstitutions[2147483647])
  653. ;
  654.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  655.         Macro
  656.         _GXGetShapeRunGlyphSubstitutions
  657.             move.w              #$002E,D0
  658.             dc.w                $A832
  659.         EndM
  660.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  661.         IMPORT_CFM_FUNCTION GXGetShapeRunGlyphSubstitutions
  662.     ENDIF
  663.  
  664. ;
  665. ; extern long GXGetShapeRunFeatures(gxShape source, gxRunFeature runFeatures[2147483647])
  666. ;
  667.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  668.         Macro
  669.         _GXGetShapeRunFeatures
  670.             move.w              #$002F,D0
  671.             dc.w                $A832
  672.         EndM
  673.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  674.         IMPORT_CFM_FUNCTION GXGetShapeRunFeatures
  675.     ENDIF
  676.  
  677. ;
  678. ; extern long GXGetShapeRunKerningAdjustments(gxShape source, gxKerningAdjustment kerningAdjustments[2147483647])
  679. ;
  680.     IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN
  681.         Macro
  682.         _GXGetShapeRunKerningAdjustments
  683.             move.w              #$0030,D0
  684.             dc.w                $A832
  685.         EndM
  686.     ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
  687.         IMPORT_CFM_FUNCTION GXGetShapeRunKerningAdjustments
  688.     ENDIF
  689.  
  690.  
  691.  
  692.     ENDIF ; __GXLAYOUT__ 
  693.  
  694.